// Author: combacsa@kaist.ac.kr
// http://www.jungol.co.kr/prog/Hanal/hanalView.php?qs_code=122

//#define COMPILE
#ifdef COMPILE

#include <fstream>
using namespace std;

int y;
bool islunar(int y) {
	return (y % 400 == 0) || (!(y % 100 == 0) && (y % 4 == 0));
}

int main() {
	ifstream in("input.txt");
	in >> y;
	in.close();

	ofstream out("output.txt");
	if (islunar(y))
		out << "윤년" << endl;
	else
		out << "평년" << endl;

	return 0;
}
#endif
